package com.xunker.client;


import com.xunker.appointment.model.patient.Patient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Repository
@FeignClient(value="service-user")
public interface PatientFeignClient {
    //获取就诊人
    @GetMapping("api/patient/inner/get/{id}")
    Patient getIPatient(@PathVariable("id") Long id);
}
